﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Kiosk
{
    public partial class InfoBar : UserControl
    {
        public InfoBar()
        {
            InitializeComponent();
        }

        public String Subtitle
        {
            set
            {
                labelSubtitle.Text = value;
                labelSubtitle.Left = Size.Width / 2 - labelSubtitle.Width / 2;
            }
        }

        public String Type
        {
            set
            {
                labelType.Text = value;
                labelType.Left = Size.Width / 2 - labelType.Width / 2;
            }
        }
    }
}
